package com.adminsystem.java.devlogs.pojo.params;

import lombok.Data;
import javax.validation.constraints.*;
import java.time.LocalDateTime;

/**
 * 新增开发日志的请求参数
 */
@Data
public class DevLogAddParam {

    @NotBlank(message = "版本号不能为空")
    private String version;

    @NotNull(message = "变更类型不能为空")
    private Integer changeType;

    @NotBlank(message = "模块不能为空")
    private String module;

    @NotNull(message = "类别不能为空")
    private Integer category;

    @NotBlank(message = "标题不能为空")
    private String title;

    private String content;
    private LocalDateTime logTime;
}
